package com.thinkingcoder.tccache.constant;

public interface EncodeConstants {

    String CRLF = "\r\n";

    String SIMPLE_STRING_PREFIX = "+";
    String BULK_STRING_PREFIX = "$";
    String ERROR_PREFIX = "-";
    String INTEGER_PREFIX = ":";
    String ARRAY_PREFIX = "*";

    String NULL_RET = "-1";
    String ZERO_LEN_RET = "0";

    String ARRAY_NULL_RET = ARRAY_PREFIX + NULL_RET;
    String ARRAY_ZERO_LEN_RET = ARRAY_PREFIX + ZERO_LEN_RET;

    String STRING_NULL_RET = BULK_STRING_PREFIX + NULL_RET;
    String STRING_ZERO_LEN_RET = BULK_STRING_PREFIX + ZERO_LEN_RET;

    String OK = "OK";
    String PONG = "PONG";

}
